passthrough: rework hwdom_pvh_reqs to use it also on ARM
authorJulien Grall <julien.grall@linaro.org>
Wed, 14 May 2014 08:49:17 +0000 (10:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 May 2014 08:49:17 +0000 (10:49 +0200)
commitfc49666e811db269539bc9557608504b5f332bfb
tree953b4ff994ecb3e51b189ad7bc1d2598a513ebfd
parent2246d8483ed212a5998c108806937d24a76740d0
passthrough: rework hwdom_pvh_reqs to use it also on ARM

Hardware domain on ARM will have the same requirements as hwdom PVH when iommu
is enabled. Both PVH and ARM guest has paging mode translate enabled, so Xen
can use it to know if it needs to check the requirements.

Rename the function and remove "pvh" word in the panic message.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/passthrough/iommu.c